<?php namespace sacvoyage\hook;

use \sacvoyage\domain\Collection;

class Hook {

	
	/*
	 * onWrite can modify $document, it will be written
	 * 
	 * returns true if document writing should be stopped
	 * 
	 * 
	 */
	public function onWrite(Collection $collection, $documents) {
			
	}
	
	public function onDelete(Collection $collection, $query) {
		
	}
}


?>
